﻿using Common.Communal;
using ERP.Domain.CustomerSupplier;
using ERP.Domain.Processs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sell.Services.Pro
{
    public interface IProServices
    {
        /// <summary>
        /// 工序管理添加
        /// </summary>
        /// <param name="srocess"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddPSrocess(PSrocess srocess);
      /// <summary>
      /// 工序管理修改
      /// </summary>
      /// <param name="srocess"></param>
      /// <returns></returns>
        Task<ApiResult<int>> UpdatePSrocess(PSrocess srocess);
        /// <summary>
        /// 删除供应商管理
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ApiResult<int>> DeletePSrocess(int id);
    }
}
